﻿using System;
using System.Collections.Generic;
using System.Text;

namespace 面向对象练习1
{
    public abstract class Students
    {
        //成绩
        public static int Results { get; set; }
        //桌号
        private static int Ramadhin { get; set; }
        //学生名字
        private static string Name { get; set; }
        //学习方法
        internal static void Methods()
        {
            Console.WriteLine(Results);
            Console.WriteLine(Ramadhin);
            Console.WriteLine(Name);
        }
        
    }
    internal sealed class Teachers
    {
        //教师名字
        internal readonly string name;
        //号数
        protected static int ramadhin;
        //教师年龄
        internal readonly int age;

        public static void Methods()
        {
            Console.WriteLine(Students.Results);
        }
        public static class Classroom
        {
        //readonly
        public readonly int moths = 12;
        }


    }
}
